<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<script>
	function validate_form(){
		var companyName=document.getElementById('companyName').value;
			if(companyName==""){
				alert('信息不能为空');
				return false;
				}
		}
</script>
<!DOCTYPE html>
<html>
	<head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		 <link href="<%=request.getContextPath() %>/css/SonPage.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/Element.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/easyui.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/icon.css" rel="stylesheet" type="text/css">
         <script src="<%=request.getContextPath() %>/js/Mtopt_1.1.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/SonPage.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/jquery-1.8.3.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/jquery.easyui.min.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/easyui-lang-zh_CN.js" type="text/javascript"></script>
		<title>添加维护记录</title>
	</head>
	<body>

		<div class="DivShowData panel-noscroll">
        <div class="panel datagrid" style="width: 1180px;">
        	<div class="panel-header" style="width: 1168px;">
        		<div class="panel-title">维护记录基本信息</div>
        		<div class="panel-tool"></div>
        	</div>
        </div>
        </div>
        	<div class="datagrid-wrap panel-body" title="" style="width: 1178px; height: 571px;">
        		<div class="datagrid-toolbar"></div>
        		<div class="datagrid-view" style="width: 1178px; height: 542px;">
        			<style type="text/css">
						div.datagrid-cell-c1-PolluteSourceNo {width:undefinedpx;}
						div.datagrid-cell-c1-PolluteSourceName {width:92px;}
						div.datagrid-cell-c1-GroupName {width:72px;}
						div.datagrid-cell-c1-TypeName {width:32px;}
						div.datagrid-cell-c1-IndustryName {width:92px;}
						div.datagrid-cell-c1-OperateScaleName {width:52px;}
						div.datagrid-cell-c1-AttentionName {width:32px;}
						div.datagrid-cell-c1-TakeoverName {width:32px;}
						div.datagrid-cell-c1-PleaceName {width:52px;}
						div.datagrid-cell-c1-9 {width:12px;}
					</style>
<div class="datagrid-view2" style="width: 1178px;">
		<div class="datagrid-header" style="width: 1178px;">
			<div class="datagrid-header-inner" style="display: block;">
			      <form action="<%=request.getContextPath()%>/addMainServlet" method="post">
				<table class="datagrid-htable"border="0" cellspacing="0" cellpadding="0" style="height: 50px;">
					<tbody>
					<tr>
						<td>维护人：</td>
						<td><input type="text" vlaue="" id="maintainer" name="maintainer"></td>
					</tr>
					<tr>
						<td>录入人：</td>
						<td><input type="text" vlaue=""id="keyboarder" name="keyboarder"></td>
					</tr>
					<tr>
						<td>维护企业：</td>
						<td><input type="text" vlaue="" id="companyName"name="companyName"></td>
					</tr>
					<tr>
						<td>维护内容：</td>
						<td><input type="text" vlaue="" id="contents" name="contents"></td>
					</tr>
					<tr>
						<td>维护时间：</td>
						<td><input type="text" vlaue="" id="maindate" name="maindate"></td>
					</tr>
					<tr>
						<td><input type="submit" name="yes" value="确定" style="width: 100px;"onclick="return validate_form()"></td>
					    <td><input type="button" name="cancel" value="取消" style="width: 100px;"onclick="window.location.href='../Branch/SysMainManage.jsp';"></td>
					</tr>
					</tbody>
				</table>
				</form>
				</div>
			</div>
		</div>
	</body>
</html>
